/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Uppgift3;

/**
 *
 * @author marjo20
 */
public class Uppgift3
{ 
    public static void main(String[] args)
    {
      System.out.println("Test");
      for(int i=0;i<args.length;i++)
      {
          SSN ssn = new SSN(args[i]);
          String result = args[i] + " not accepted.";
          if(ssn.isOK(args[i]))
          {
              result = ssn + " is a ";
              result += ssn.isMale()? "male" : "female";
          }
          System.out.println(result);
      }
                      
    }

}
